<?php
class RegisterModule extends Model{
	
	function Index(){
		$this->out['data'] = $this->table('posts')->get();
		$this->assign('title', 'MidPHP Test');
		$this->display('index.htm');
	}
	
	function Newslist(){
		echo "abc";
	}
}
?>